import App from './App'

import uView from "uview-ui";
import noDatas from "./components/noDatas.vue"
import uNavbar from "./components/uNavbar.vue"
import renderPoster from "./components/renderPoster.vue"
import moxing from "./components/moxing.vue"
import haiBao from "./components/haibao.vue" 
import noNetWork from "./components/noNetWork.vue" 

Vue.use(uView);
Vue.component("noDatas", noDatas)
Vue.component("uNavbar", uNavbar)
Vue.component("renderPoster", renderPoster)
Vue.component("moxing", moxing)
Vue.component("haiBao", haiBao)
Vue.component("noNetWork", noNetWork)

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif